<?php
/**
 * Created by : PhpStorm
 * @author: SongKeJing qq:597481334 mobile:159-5107-8050
 * @date: 2021/7/13 14:40
 */

namespace BetvSys;

/**
 * 报警信息
 * Class Alarm
 * @package BetvSys
 * @author SongKeJing qq:597481334 mobile:159-5107-8050
 * @date 2021/7/13 14:40
 */
class Alarm extends BetvSysBase {

    /**
     * 获取最新的10条记录
     * @author SongKeJing qq:597481334 mobile:159-5107-8050
     * @date 2021/7/13 16:37
     */
    public function getLatest10() {
        $this->setAddress('/api/Alarms')
            ->call();
    }

}